#include "component_dht11.h"
#include "component_ultrasonic.h"
#include "component_oled_ssd1306_ascii.h"

void setup() {
  Serial.begin(9600);
  setup_dht11();
  setup_ultrasonic();
  setup_oled();
  delay(1000);
}

void loop() {
  loop_dht11(); 
  loop_ultrasonic();
  cur_display_info = 2;
  loop_oled();
  delay(2000);
  cur_display_info = 1;
  loop_oled();
  delay(2000);
  cur_display_info = 0;
  loop_oled();
  delay(2000);

}

